package com.xinruke.hostels.common.constants;

/**
 * @ClassName RedisConstants
 * @CreateDate 2019/6/17
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription Redis相关常量，redis存储key固定头
 */
public class RedisConstants {

    /**
     * 预订登录token的key前缀
     */
    public final static String RESERVATION_LOGIN_TOKEN_KEY_PREFIX = "reservation-token-";
    /**
     * 管理登录token的key前缀
     */
    public final static String MANAGE_LOGIN_TOKEN_KEY_PREFIX = "manage-token-";
    /**
     * 酒店房间锁定的key前缀
     */
    public final static String HOTEL_ROOM_LOCK_KEY_PREFIX = "hotel-room-lock-";
    /**
     * 会员注册锁定的key前缀
     */
    public final static String HUIYUAN_ZHUCE_LOCK_KEY_PREFIX = "huiyuan-zhuce-lock-";

    /**
     * 酒店信息key前缀
     */
    public static final String HOTEL_INFO_KEY_PREFIX = "hotel-info-key-";

    //预订用户前缀
    public static final String RESERVATION_USER_INFO_KEY_PREFIX = "reservation-user-info-";
    //联系人前缀
    public static final String CONTACTS_INFO_KEY_PREFIX = "contacts-info-";
    //联系人身份前缀
    public static final String CONTACTS_IDCARD_KEY_PREFIX = "contacts-idCard-";
    //房型详情
    public static final String ROOM_TYPE_KEY_PREFIX = "room-type-";

    /**
     * 字典key前缀
     */
    public static final String DICT_INFO_KEY_PREFIX = "dict-info-key-";


}
